package com.example.util;

import com.baomidou.mybatisplus.core.toolkit.AES;

public class AesUtil {
    private final static String secretKey = "1234567890123456";

    public static void main(String[] args) {
        String pwd = "root";
        System.out.println(AES.encrypt(pwd, secretKey));
        // mpw:AyzYumvFFcLnmG5t+gkYpg==
        // --mpw.key=1234567890123456
    }
}
